package com.avic.service;

import com.avic.dal.condition.PageQueryMapVideoListCondition;
import com.avic.dal.model.MapVideo;

import java.util.List;

/**
 * @Author huangsheng on 2019/2/27
 */
public interface MapVideoService {

    /**
     * 创建视频记录
     *
     * @param mapVideo
     * @return
     */
    int createMapVideoRecord(MapVideo mapVideo);

    /**
     * 列表数据
     *
     * @param pageQueryMapVideoListCondition
     * @return
     */
    List<MapVideo> itemList(PageQueryMapVideoListCondition pageQueryMapVideoListCondition);

    /**
     * 列表总数
     *
     * @param pageQueryMapVideoListCondition
     * @return
     */
    int itemTotalRecords(PageQueryMapVideoListCondition pageQueryMapVideoListCondition);

    void uploadUpdateVideo(MapVideo mapVideo);

    void uploadFailedUpdateVideo(MapVideo mapVideo);

    MapVideo queryMapVideoRecord(int id);
}
